package com.jinzhi.jzweb.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.base.BaseDao;
import com.jinzhi.jzapi.certificate.pojo.MyResultsVo;
import com.jinzhi.jzweb.domain.ExaminationResultsComDO;
import com.jinzhi.jzweb.pojo.ExaminationResultsABCPoVo;
import com.jinzhi.jzweb.pojo.ExaminationResultsExportAllVo;
import com.jinzhi.jzweb.pojo.ExaminationResultsExportVo;
import com.jinzhi.jzweb.pojo.ExaminationResultsPoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 考试成绩
 * </pre>
 * <small> 2020-02-24 21:00:12 | lance</small>
 */
public interface ExaminationResultsComDao extends BaseDao<ExaminationResultsComDO> {

    List<MyResultsVo> selByUserId(Page<MyResultsVo> page, Map map);

    List<ExaminationResultsComDO> findList(Page<ExaminationResultsComDO> page, Map map);

    List<ExaminationResultsComDO> findLists(Page<ExaminationResultsComDO> page , Map map);

    List<ExaminationResultsComDO> findPageList(Page<ExaminationResultsComDO> page, Map map);
    
    List<ExaminationResultsExportVo> exportList(Map map);

    List<ExaminationResultsExportAllVo> exportListAll(Map map);


    //查询全部列表
    List<Map>  stusinUpListX();

    //修改成阿里云OSS路径
    int updatestusinUpX(@Param("photo") String photo, @Param("id") String id);

    List<ExaminationResultsPoVo> resultList(Long ebatchId);
    //理论统计
    List<ExaminationResultsABCPoVo> listABC();

    List<ExaminationResultsPoVo> listScore(Map map);

    List<ExaminationResultsPoVo> listScoreByField(Map map);

    int updateStuSignId(@Param("stuSignId") Long stuSignId, @Param("field") String field);
}
